package org.springblade.modules.platform.job;




import org.springblade.modules.platform.websocket.WebSocketServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class RunnerService {


	@Autowired
	WebSocketServer webSocketServer;

	@PostConstruct
	public void startMqtt() throws Exception{
		webSocketServer.start(9808);
	}
}
